<div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
  <div class="sm:mx-auto sm:w-full sm:max-w-sm">
    <img class="mx-auto h-10 w-auto" src="https://tailwindui.com/plus-assets/img/logos/mark.svg?color=indigo&shade=600" alt="Your Company">
    <h2 class="mt-10 text-center text-2xl/9 font-bold tracking-tight text-gray-900">系统登录</h2>
  </div>

  <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
    <form class="space-y-6"  nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()">
      <div>
        <label for="username" class="block text-sm/6 font-medium text-gray-900">用户名</label>
        <div class="mt-2">
<!--          <input type="text" pInputText name="email" id="email" autocomplete="email" required class="block w-full rounded-md bg-white px-3 py-1.5 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 sm:text-sm/6">-->
<!--         -->
          <input id="username"  type="text" pInputText  variant="filled" formControlName="userName"   placeholder="清输入用户名" class="w-full mb-4"/>
        </div>
      </div>

      <div>
        <div class="flex items-center justify-between">
          <label class="block text-sm/6 font-medium text-gray-900">密码</label>
          <div class="text-sm">
            <a href="#" class="font-semibold text-indigo-600 hover:text-indigo-500">忘记密码</a>
          </div>
        </div>
        <div class="mt-2">
<!--          <input type="password" name="password" id="password" autocomplete="current-password" required class="block w-full rounded-md bg-white px-3 py-1.5 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 sm:text-sm/6">-->
<!--        -->
          <p-password   [feedback]="false" styleClass="w-full mb-8 block px-3"  formControlName="password" placeholder="请输入密码" />
        </div>
      </div>

      <div>
<!--        <p-button  type="submit" label="登录" severity="secondary" class="flex w-full justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm/6 font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">-->

<!--        </p-button>-->

        <p-button  type="submit" label="登录" severity="primary" styleClass="bg-indigo-600 w-full justify-center">

        </p-button>
      </div>
    </form>

<!--    <p class="mt-10 text-center text-sm/6 text-gray-500">-->
<!--      Not a member?-->
<!--      <a href="#" class="font-semibold text-indigo-600 hover:text-indigo-500">Start a 14 day free trial</a>-->
<!--    </p>-->
  </div>
</div>
